package com.yugao.fintech.antelope.mps.assembly;

import com.yugao.fintech.antelope.mps.model.entity.MsgReceiver;
import com.yugao.fintech.antelope.mps.model.rqrs.receiver.ReceiverResp;
import com.yugao.fintech.antelope.mps.model.rqrs.receiver.ReceiverSaveReq;
import com.yugao.fintech.antelope.mps.model.rqrs.receiver.ReceiverUpdateReq;
import org.mapstruct.Mapper;

/**
 * 消息接收者
 *

 */
@Mapper(componentModel = "spring")
public interface ReceiverAssembly {
  ReceiverResp toReceiverResp(MsgReceiver source);
  
  MsgReceiver toReceiver(ReceiverSaveReq source);
  
  MsgReceiver toReceiver(ReceiverUpdateReq source);
}
